package web.suzy.oj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * YangSuzy 软件工作室
 * 类名: BackendApp
 * 描述: 后台启动类
 * 功能: ---- 待定 -----
 *
 * @author YangSuzy
 * Date: 2022/11/8 15:09
 */

@EnableRetry //开启方法重试
@EnableDiscoveryClient // 开启注册发现
@EnableAsync(proxyTargetClass = true) //开启异步注解
@EnableTransactionManagement //开启事务管理，支持回滚
@SpringBootApplication
public class BackendApp {
    public static void main(String[] args) {
        SpringApplication.run(BackendApp.class, args);
    }
}
